//
//  SecondTableViewCell.m
//  项目
//
//  Created by 焦钟培 on 15-1-4.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "SecondTableViewCell.h"

@implementation SecondTableViewCell
- (void)dealloc
{
    [_downFlet release];
    [_downRight release];
    [_upFlet release];
    [_upRight release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.frame = [[UIScreen mainScreen] bounds];
        self.upFlet = [[UILabel alloc] initWithFrame:CGRectMake(5, 5, self.frame.size.width/4 - 10, 20)];
        _upFlet.font = [UIFont systemFontOfSize:18];
        _upFlet.textColor = [UIColor redColor];
        _upFlet.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:_upFlet];
        [_upFlet release];
        self.upRight = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width/4, 5, self.frame.size.width/4 * 3 - 10, 20)];
        _upRight.font = [UIFont systemFontOfSize:18];
        [self.contentView addSubview:_upRight];
        [_upRight release];
        
        self.downFlet = [[UILabel alloc] initWithFrame:CGRectMake(5, 30, self.frame.size.width/4 - 10, 20)];
        _downFlet.font = [UIFont systemFontOfSize:14];
        _downFlet.textColor = [UIColor grayColor];
        _downFlet.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:_downFlet];
        [_downFlet release];
        self.downRight = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width/4, 30, self.frame.size.width/4 * 3 - 10, 20)];
        _downRight.textColor = [UIColor grayColor];
        _downRight.font = [UIFont systemFontOfSize:14];
        [self.contentView addSubview:_downRight];
        [_downRight release];
        
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
